package com.example.demo.service;

import java.util.List;
import java.util.Map;

import com.example.demo.entity.EtRole;
import com.example.demo.entity.EtRoleUser;
import com.example.demo.entity.EtUser;

public interface RoleService {

	public List<EtRole> getAllRoleList() throws Exception;
	public Map<String,Object> getRoleInfo(String roleId) throws Exception;
	public int addRole(EtRole role) throws Exception;
	public void deleteRole(EtRole role) throws Exception;
	public int updateRole(EtRole role) throws Exception;
	public EtUser addRoleUser(String roleId, String phoneNum) throws Exception;
	public int deleteRoleUser(EtRoleUser roleUser) throws Exception;
}
